fix: Information regarding role permissions management has not been internationalised.#4000
Conversation
…nternationalised. --bug=1061417 --user=张展玮 【国际化BUG】2.10版本,角色权限管理的信息没有国际化 https://www.tapd.cn/62980211/s/1768834
|
Adding the "do-not-merge/release-note-label-needed" label because no release-note block was detected, please follow our release note process to remove it. DetailsInstructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. |
| from django.utils.translation import gettext_lazy as _ | ||
|
|
||
| from maxkb import settings | ||
|
|
There was a problem hiding this comment.
The provided code snippet appears to be updating django.utils.translation.gettext with its lazy equivalent gettext_lazy. This can improve performance by not performing immediate translation when the string is referenced but instead delaying it until actually rendered. There's no apparent other issues or optimizations needed based on this update.
|
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: The full list of commands accepted by this bot can be found here. DetailsNeeds approval from an approver in each of these files:Approvers can indicate their approval by writing |
fix: Information regarding role permissions management has not been internationalised. --bug=1061417 --user=张展玮 【国际化BUG】2.10版本,角色权限管理的信息没有国际化 https://www.tapd.cn/62980211/s/1768834